package com.jdd.modules.dooropeningrecord.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jdd.modules.dooropeningrecord.entity.DoorOpeningRecord;
import com.jdd.modules.dooropeningrecord.mapper.DoorOpeningRecordMapper;
import com.jdd.modules.dooropeningrecord.service.IDoorOpeningRecordService;
import com.jdd.modules.visitorLog.entity.VisitorLog;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 开门记录
 * @Author: jdd
 * @Date:   2022-04-14
 * @Version: V1.0
 */
@Service
public class DoorOpeningRecordServiceImpl extends ServiceImpl<DoorOpeningRecordMapper, DoorOpeningRecord> implements IDoorOpeningRecordService {

    @Override
    public IPage<DoorOpeningRecord> findAll(Page<DoorOpeningRecord> page, QueryWrapper<DoorOpeningRecord> queryWrapper) {
        IPage<DoorOpeningRecord>  completeInfo = baseMapper.findAll(page,queryWrapper);
        return completeInfo;

    }
}
